package com.book.book.dao;

import com.book.book.domain.RulerDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 漂流规则表
 * @author siyuan
 * @email 894266364@qq.com
 * @date 2018-02-02 11:25:32
 */
@Mapper
public interface RulerDao {

	RulerDO get(Integer rulerId);
	
	List<RulerDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(RulerDO ruler);
	
	int update(RulerDO ruler);
	
	int remove(Integer ruler_id);
	
	int batchRemove(Integer[] rulerIds);
}
